<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>链接伪类选择器</title>
		<style type="text/css">
			a:link{color: #6d4418;}
			a:visited {color: #6d4418;}
			a:hover{
				color: #ffcc00;
				text-decoration: underline;
			}
			a:active{color: #ff0000;}
			a.nav:link,.a.nav:visited{color: #fff;background-color: #6d4418;}
			.a.nav:active{color: #ff0000;}
		</style>
	</head>
	<body>
		<a href="http://www.baidu.com">百度网</a>
		<a href="http://www.qq.com">腾讯网</a>
		<a href="http://www.baidu.com" class="nav">百度网</a>
		<a href="http://www.qq.com" class="nav">腾讯网</a>
	</body>
</html>